home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 1.iso / dist / fw_apache2.idb / usr / freeware / apache2 / include / apu_compat.h.z / apu_compat.h
C/C++ Source or Header  |  2002-07-08  |  6KB  |  155 lines

  1. /* ====================================================================
  2.  * The Apache Software License, Version 1.1
  3.  *
  4.  * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights
  5.  * reserved.
  6.  *
  7.  * Redistribution and use in source and binary forms, with or without
  8.  * modification, are permitted provided that the following conditions
  9.  * are met:
  10.  *
  11.  * 1. Redistributions of source code must retain the above copyright
  12.  *    notice, this list of conditions and the following disclaimer.
  13.  *
  14.  * 2. Redistributions in binary form must reproduce the above copyright
  15.  *    notice, this list of conditions and the following disclaimer in
  16.  *    the documentation and/or other materials provided with the
  17.  *    distribution.
  18.  *
  19.  * 3. The end-user documentation included with the redistribution,
  20.  *    if any, must include the following acknowledgment:
  21.  *       "This product includes software developed by the
  22.  *        Apache Software Foundation (http://www.apache.org/)."
  23.  *    Alternately, this acknowledgment may appear in the software itself,
  24.  *    if and wherever such third-party acknowledgments normally appear.
  25.  *
  26.  * 4. The names "Apache" and "Apache Software Foundation" must
  27.  *    not be used to endorse or promote products derived from this
  28.  *    software without prior written permission. For written
  29.  *    permission, please contact apache@apache.org.
  30.  *
  31.  * 5. Products derived from this software may not be called "Apache",
  32.  *    nor may "Apache" appear in their name, without prior written
  33.  *    permission of the Apache Software Foundation.
  34.  *
  35.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  36.  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  37.  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  38.  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  39.  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  40.  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  41.  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  42.  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  43.  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  44.  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  45.  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  46.  * SUCH DAMAGE.
  47.  * ====================================================================
  48.  *
  49.  * This software consists of voluntary contributions made by many
  50.  * individuals on behalf of the Apache Software Foundation.  For more
  51.  * information on the Apache Software Foundation, please see
  52.  * <http://www.apache.org/>.
  53.  */
  54.  
  55. /**
  56.  * @file  apu_compat.h
  57.  * @brief APR-UTIL Compabitlity Functions
  58.  * @deprecated These functions are only present for historical purposes
  59.  */
  60. #ifndef APU_COMPAT_H
  61. #define APU_COMPAT_H
  62. /**
  63.  * @defgroup APR_Util_compat 1.3 Compatibility Functions
  64.  * @ingroup APR_Util
  65.  * @{
  66.  */
  67.  
  68.  
  69. /* Include the apr compatibility changes, since apr-util users are
  70.  * always apr users.
  71.  */
  72. #include "apr_compat.h"
  73.  
  74. /* --------------------------------------------------------------------
  75.  * redefine 1.3.x symbols to those that now live in libapr-util
  76.  */
  77. /** @deprecated @see apr_base64_decode */
  78. #define ap_base64decode apr_base64_decode
  79. /** @deprecated @see apr_base64_decode_binary */
  80. #define ap_base64decode_binary apr_base64_decode_binary
  81. /** @deprecated @see apr_base64_decode_len */
  82. #define ap_base64decode_len apr_base64_decode_len
  83. /** @deprecated @see apr_base64_encode */
  84. #define ap_base64encode apr_base64_encode
  85. /** @deprecated @see apr_base64_encode_binary */
  86. #define ap_base64encode_binary apr_base64_encode_binary
  87. /** @deprecated @see apr_base64_encode_len */
  88. #define ap_base64encode_len apr_base64_encode_len
  89. /** @deprecated @see apr_hook_deregister_all */
  90. #define ap_hook_deregister_all apr_hook_deregister_all
  91. /** @deprecated @see apr_hook_sort_register */
  92. #define ap_hook_sort_register apr_hook_sort_register
  93. /** @deprecated @see apr_show_hook */
  94. #define ap_show_hook apr_show_hook
  95.  
  96. /* --------------------------------------------------------------------
  97.  * the following symbols were moved from httpd-2.0/.../util_date.[ch]
  98.  */
  99. /** @deprecated @see apr_date_parse_http */
  100. #define ap_parseHTTPdate apr_date_parse_http
  101. /** @deprecated @see apr_date_checkmask */
  102. #define ap_checkmask apr_date_checkmask
  103.  
  104. /* --------------------------------------------------------------------
  105.  * the following symbols were moved from httpd-2.0/.../util_xml.[ch]
  106.  */
  107. /** @deprecated @see apr_text */
  108. #define ap_text apr_text
  109. /** @deprecated @see apr_text_header */
  110. #define ap_text_header apr_text_header
  111. /** @deprecated @see apr_text_append */
  112. #define ap_text_append apr_text_append
  113.  
  114. /** @deprecated @see APR_XML_NS_DAV_ID */
  115. #define AP_XML_NS_DAV_ID APR_XML_NS_DAV_ID
  116. /** @deprecated @see APR_XML_NS_NONE */
  117. #define AP_XML_NS_NONE APR_XML_NS_NONE
  118. /** @deprecated @see APR_XML_NS_ERROR_BASE */
  119. #define AP_XML_NS_ERROR_BASE APR_XML_NS_ERROR_BASE
  120. /** @deprecated @see APR_XML_NS_IS_ERROR */
  121. #define AP_XML_NS_IS_ERROR(e) APR_XML_NS_IS_ERROR(e)
  122. /** @deprecated @see APR_XML_ELEM_IS_EMPTY */
  123. #define AP_XML_ELEM_IS_EMPTY(e) APR_XML_ELEM_IS_EMPTY(e)
  124.  
  125. /** @deprecated @see apr_xml_attr */
  126. #define ap_xml_attr apr_xml_attr
  127. /** @deprecated @see apr_xml_elem */
  128. #define ap_xml_elem apr_xml_elem
  129. /** @deprecated @see apr_xml_doc */
  130. #define ap_xml_doc apr_xml_doc
  131.  
  132. /** @deprecated @see apr_xml_to_text */
  133. #define ap_xml_to_text apr_xml_to_text
  134. /** @deprecated @see APR_XML_X2T_FULL */
  135. #define AP_XML_X2T_FULL APR_XML_X2T_FULL
  136. /** @deprecated @see APR_XML_X2T_INNER */
  137. #define AP_XML_X2T_INNER APR_XML_X2T_INNER
  138. /** @deprecated @see APR_XML_X2T_LANG_INNER */
  139. #define AP_XML_X2T_LANG_INNER APR_XML_X2T_LANG_INNER
  140. /** @deprecated @see APR_XML_X2T_FULL_NS_LANG */
  141. #define AP_XML_X2T_FULL_NS_LANG APR_XML_X2T_FULL_NS_LANG
  142.  
  143. /** @deprecated @see apr_xml_empty_elem */
  144. #define ap_xml_empty_elem apr_xml_empty_elem
  145. /** @deprecated @see apr_xml_quote_string */
  146. #define ap_xml_quote_string apr_xml_quote_string
  147. /** @deprecated @see apr_xml_quote_elem */
  148. #define ap_xml_quote_elem apr_xml_quote_elem
  149. /** @deprecated @see apr_xml_insert_uri */
  150. #define ap_xml_insert_uri apr_xml_insert_uri
  151. /** @deprecated @see APR_XML_GET_URI_ITEM */
  152. #define AP_XML_GET_URI_ITEM(a,i) APR_XML_GET_URI_ITEM(a,i)
  153. /** @} */
  154. #endif /* APU_COMPAT_H */
  155.